<script >
export default {
    data() {
        return {
            count: 0
        }
    },
    expose: ['count']
}
</script>

<template>
    <div>
        <div class="tab">Index </div>
        <span>count:{{ count }}</span>
        <button @click="count++">+</button>
    </div>
</template>

<style scoped></style>
